/PROG  CHK_PICK
/ATTR
OWNER		= MNEDITOR;
COMMENT		= "CHK PRESENT PART";
PROG_SIZE	= 466;
CREATE		= DATE 10-03-27  TIME 13:18:44;
MODIFIED	= DATE 12-07-21  TIME 19:49:22;
FILE_NAME	= CHK_DROP;
VERSION		= 0;
LINE_COUNT	= 14;
MEMORY_SIZE	= 946;
PROTECT		= READ;
TCD:  STACK_SIZE	= 0,
      TASK_PRIORITY	= 50,
      TIME_SLICE	= 0,
      BUSY_LAMP_OFF	= 0,
      ABORT_REQUEST	= 0,
      PAUSE_REQUEST	= 0;
DEFAULT_GROUP	= *,*,*,*,*;
CONTROL_CODE	= 00000000 00000000;
/APPL
/MN
   1:  IF DI[30:DRY RUN MODE]=ON,JMP LBL[10] ;
   2:  R[11:RETRY COUNT]=R[11:RETRY COUNT]+1    ;
   3:  $WAITTMOUT=500 ;
   4:  WAIT DI[11:VACUUM ONR]=ON AND DI[9:VACUUM ONL]=ON TIMEOUT,LBL[20] ;
   5:  JMP LBL[10] ;
   6:   ;
   7:  LBL[20:USER ALARM] ;
   8:  MESSAGE[-----------------------] ;
   9:  MESSAGE[USER ALARM- NO PART] ;
  10:  MESSAGE[-----------------------] ;
  11:  DO[36:VACUUM FAULT]=PULSE,1.0sec ;
  12:  UALM[1] ;
  13:   ;
  14:  LBL[10:END] ;
/POS
/END
